package wangm.netty.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.util.CharsetUtil;

/**
 * describe
 *
 * @author zk
 * @date 2018-02-07 10:23
 */
public class ServerInBoundHandler2 extends SimpleChannelInboundHandler<String>{

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.out.println("this in bound handler msg is : " + msg + ", type : " + msg.getClass().getTypeName());
    }
}
